﻿using System;
using Microsoft.SharePoint;

namespace SharePoint.Orm.Wrappers {
	public class SPOrmSharePointField : ISPOrmField {
		private readonly SPField _field;

		public SPOrmSharePointField(SPField field) {
			_field = field;
		}

		public SPField GetSPField() {
			return _field;
		}

		public string InternalName {
			get { return _field.InternalName; }
		}

		public string Title {
			get { return _field.Title; }
		}

		public string StaticName {
			get { return _field.StaticName; }
		}
	}
}